package com.webservice;

import java.io.Serializable;

import org.primefaces.model.map.DefaultMapModel;
import org.primefaces.model.map.LatLng;
import org.primefaces.model.map.MapModel;
import org.primefaces.model.map.Marker;

public class Gmap implements Serializable {

	private MapModel simpleModel;

	public Gmap() {
		simpleModel = new DefaultMapModel();
		
		//Shared coordinates
		LatLng wyspianski = new LatLng(51.109158, 17.072294);
	
		
		//Basic marker
		simpleModel.addOverlay(new Marker(wyspianski, "Tu jesteśmy"));
	
	}

	public MapModel getSimpleModel() {
		return simpleModel;
	}
}
					